﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using Traceability.ErrorCode;

namespace Traceability.Write.Api.Application.Command
{
    public class UpdateImmunityCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 免疫主键
        /// </summary>
        public int ImmunityId { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int Data { get; set; }
        /// <summary>
        /// 免疫方式
        /// </summary>
        public string ImmunityManner { get; set; }
        /// <summary>
        /// 免疫方法
        /// </summary>
        public string ImmunityMethod { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int CommodityId { get; set; }
    }
}
